﻿<%@ Page Language="VB" AutoEventWireup="false" EnableEventValidation="false" CodeFile="Banner.aspx.vb" Inherits="ST_ST0010" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <title></title>
		<style type="text/css">
			A { FONT-SIZE: 12px; COLOR: #0033cc; LINE-HEIGHT: 20px; FONT-FAMILY: arial; LETTER-SPACING: 0px; TEXT-DECORATION: none; color: #000000 }
			A:hover { COLOR: red; TEXT-DECORATION: none }
			B { FONT-SIZE: 12px; COLOR: #000066; LINE-HEIGHT: 20px; FONT-FAMILY: arial; LETTER-SPACING: 0px }
			.baner_item { BORDER-RIGHT: silver 1pt solid; PADDING-RIGHT: 1px; BORDER-TOP: silver 1pt solid; PADDING-LEFT: 1px; FONT-SIZE: 12px; BORDER-LEFT: silver 1pt solid; WIDTH: 66px; CURSOR: hand; COLOR: white; PADDING-TOP: 2px; BORDER-BOTTOM: silver 1pt solid; FONT-FAMILY: 微軟正黑體, 新細明體; HEIGHT: 12px; BACKGROUND-COLOR: #9999ff; TEXT-ALIGN: center }
			.baner_item_blank { BORDER-RIGHT: 1pt; PADDING-RIGHT: 1px; BORDER-TOP: 1pt; PADDING-LEFT: 1px; FONT-SIZE: 12px; BORDER-LEFT: 1pt; WIDTH: 66px; PADDING-TOP: 2px; BORDER-BOTTOM: 1pt; FONT-FAMILY: 微軟正黑體, 新細明體; HEIGHT: 12px; TEXT-ALIGN: center }
		</style>
		<SCRIPT Language="JavaScript">
		    function MM_displayStatusMsg(msgStr) {
		        status = msgStr;
		        document.MM_returnValue = true;
		    }
		    function click() {
		        if (event.button == 2) {
		            alert('Right button disable')
		        }
		    }
		    document.onmousedown = click
</SCRIPT>
	<script type="text/javascript" language="javascript">
	<!--
	    //關閉視窗則觸發登出click事件，解除Lock。
	 // window.onbeforeunload = function() {
	 //     window.document.getElementById('btnLogout').click();
	//  }
	     
	    function funLoad()
		{
			if (frmContent.txtStatus.value=="0")
			{
				 funBackhome();
			}
		}
		
		function funChangePwd()
		{
		    alert("網頁尚在製作中~~");
		}
		
		function ChangeColor(obj, sColor)
		{
			obj.style.color = sColor;
		}
		
		function ChangeColor2(obj, sColor)
		{
		}

		function funChangeImg(obj, sType)
		{
		}
		
		function funChangeImgAgent(obj, sType)
		{
			if (sType == '1')
			{
			    obj.src = '../../images/EndAgBtn4.gif';
			}
			else
			{
			    obj.src = '../../images/EndAgBtn3.gif';
			}
		}
		
		function funBackhome()
		{
		    window.parent.frames[1].frmSet.cols = "230,0,0,*";
		    frmContent.btnBackHome.click();    
		}
		
		function funBackWork()
		{
		    alert("網頁尚在製作中~");
			//window.top.frames[1].location = '/A00/ECA060.aspx?FunID=ECB000&Path=/B00/ECB000.aspx';
		}
		
		function funSetSubMenu(strType)
		{	
			if (strType=="1") 
				{
					tbl_submenu.style.display="block";
				}	
			else
				{
					tbl_submenu.style.display="none";
				}	
				
		}
		
		function funChangeTextColor(strObj,TypeFlg)				
		{
			
			if (TypeFlg=="1")
				{
					tbl_submenu.style.display="block";
					strObj.style.color="#99ffff";
					strObj.style.fontweight="bolder";					
					strObj.style.display="block";
				}					
			else
				{
					tbl_submenu.style.display="none";
					strObj.style.color="white";
					strObj.style.fontweight="";
				}															
		}
	
		function funDocument()
		{
			//window.open ("/upload/UserGuide/UserGuide.htm");
		}
		
		function funDownload()
		{
			/*
			var strRtn;
			try
			{
				strRtn = window.showModalDialog("/upload/Download/Download.htm" ,"","dialogHeight:290px; dialogWidth: 292px; edge: Raised;center: Yes; help: No; resizable: No; status: No;").toString();
			}
			catch (ex)
			{	
				strRtn = "";
			}
			*/
		}
	-->
	</script>
</head>
<body leftmargin="0" topMargin="0" rightMargin="0" onload="funLoad()"  background="../../Images/pic_indexmain.jpg" style="BACKGROUND-REPEAT: no-repeat; "><!-- background-color:#0EB250  -->
    <form id="frmContent" runat="server">
    <div>
        <table cellspacing="0" cellpadding="0" width="1000" border="0">
			<tr>
				<td vAlign="top" width="200">&nbsp;</td>
				<td vAlign="middle" align="left" width="350">
					<table border="0" borderColor="#A0C0D4" height="60" cellSpacing="0" cellPadding="0" width="100%" align="left">
						<tr vAlign="middle" height="30">
						    <td vAlign="middle" align="left" width="100%" style="HEIGHT: 24px"><IMG src="../../images/dot1.gif">&nbsp;<FONT style="FONT-SIZE: 10pt" color="#003300"><asp:Label
                                    ID="UIDlbl" runat="server" meta:resourcekey="UserIDlbl" ForeColor="White"></asp:Label><asp:label 
                                    id="lblUserID" style="BACKGROUND-COLOR: transparent; TEXT-ALIGN: left" Font-Names="Times New Roman"
									runat="server" Font-Size="10pt" ForeColor="White">Label</asp:label>&nbsp;&nbsp;</FONT><IMG src="../../images/dot1.gif">&nbsp;<FONT 
                                    style="FONT-SIZE: 10pt" color="#003300"><asp:Label ID="UserNamelbl" 
                                    runat="server" meta:resourcekey="UserNamelbl" ForeColor="White"></asp:Label></FONT><asp:label 
                                    id="lblUserName" style="BACKGROUND-COLOR: transparent; TEXT-ALIGN: left"
								runat="server" Font-Size="10pt" ForeColor="White">Label</asp:label><asp:Label ID="lblProductionFlag" runat="server" ForeColor="Blue" Font-Size="12px" Font-Bold="True" Font-Names="微軟正黑體" Text="   "></asp:Label></td>
						</tr>
						<tr>
							<td align="left" valign="top">
								<table border="0" cellpadding="0" cellspacing="0" height="18">
									<tr>
										<td align="left" valign="top" width="185">
											<asp:label width="185px" id="lblAgent" style="BORDER-RIGHT:white 1px solid; BORDER-TOP:white 1px solid; FONT-WEIGHT:bold; BORDER-LEFT:white 1px solid; BORDER-BOTTOM:white 1px solid; BACKGROUND-COLOR:#d1e0ff; TEXT-ALIGN:left; TEXT-VALIGN:TOP"
												runat="server" Font-Size="12px" Font-Names=" Microsoft Sans Serif" ForeColor="Red" Height="19px"></asp:label>
										</td>
										<td>
											<asp:LinkButton width="30px" ID="btCloseAgency" Runat="server">
												<IMG src="../../images/EndAgBtn3.gif" border="0" onmouseover="funChangeImgAgent(this, '1')"
													onmouseout="funChangeImgAgent(this, '2')" style="CURSOR: hand"></asp:LinkButton>
										</td>
									</tr>
								</table>
							</td>
						</tr>
						<tr height="20">
							<td>&nbsp;</td>
						</tr>
					</table>
				</td>
				<td vAlign="top" align="right" style="WIDTH: 1px">
				</td>
				<td width="260" align="right" style="vertical-align:top">
					<table border="0" borderColor="#800000" height="30" cellSpacing="0" cellPadding="0" width="260">
						<tr vAlign="middle" height="14">
							<td width="25%" align="center" onmouseover="ChangeColor2(this, '#fce031')" style="CURSOR: hand"
								onmouseout="ChangeColor2(this, '#ffffff')">
								<asp:label id="lb_2" Runat="server" ForeColor="White">
									 <a id="backtoHome" style="color:#ffffff; font-family:微軟正黑體" onclick="funBackhome()" onmouseover="ChangeColor(this, '#fce031')" onmouseout="ChangeColor(this, '#ffffff')">
                                        <asp:Label ID="lbHome" runat="server" meta:resourcekey="lbHome" ForeColor ="White"></asp:Label></a>
								</asp:label>
							</td>
							<td width="&nbsp;</td>
							<td align="center" width="25%" style="CURSOR: hand" onclick="funChangePwd()">
								<!--<a onmouseover="ChangeColor(this, '#fce031')" style="color:#ffffff; font-family:微軟正黑體" onmouseout="ChangeColor(this, '#ffffff')">
									修改密碼&nbsp;&nbsp; </a>-->
							</td>
							<td width="&nbsp;</td>
							<td align="center" width="25%">
							    <asp:LinkButton ID="btnLogout" runat="server" Font-Names="微軟正黑體" Text="登出" 
                                    ForeColor="#ffffff" style="display:none" Width="100px"></asp:LinkButton>
							    <asp:DropDownList ID="ddlUICulture" runat="server" AutoPostBack="True">
                                    <asp:ListItem Value="en-us">English</asp:ListItem>
                                    <asp:ListItem Value="zh-tw">繁中</asp:ListItem>
                                    <asp:ListItem Value="zh-cn">简中</asp:ListItem>
                                </asp:DropDownList>
							</td>
						    <td width="15%">&nbsp</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
		<asp:TextBox ID="txtStatus" style="DISPLAY:none" Runat="server"></asp:TextBox>
		<asp:TextBox ID="txtAgencyType" style="DISPLAY:none" Runat="server"></asp:TextBox>    
		<asp:Button ID="btnBackHome" runat="server" style="display:none" />
    </div>
    </form>
</body>
</html>
